<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<!-- Copyright 1997 The Open Group, All Rights Reserved -->
<title>true</title>
</head><body bgcolor=white>
<center>
<font size=2>
The Single UNIX &reg; Specification, Version 2<br>
Copyright &copy; 1997 The Open Group

</font></center><hr size=2 noshade>
<h4><a name = "tag_001_014_2353">&nbsp;</a>NAME</h4><blockquote>
true - return true value
</blockquote><h4><a name = "tag_001_014_2354">&nbsp;</a>SYNOPSIS</h4><blockquote>
<pre><code>

true
</code>
</pre>
</blockquote><h4><a name = "tag_001_014_2355">&nbsp;</a>DESCRIPTION</h4><blockquote>
The
<i>true</i>
utility will return with exit code zero.
</blockquote><h4><a name = "tag_001_014_2356">&nbsp;</a>OPTIONS</h4><blockquote>
None.
</blockquote><h4><a name = "tag_001_014_2357">&nbsp;</a>OPERANDS</h4><blockquote>
None.
</blockquote><h4><a name = "tag_001_014_2358">&nbsp;</a>STDIN</h4><blockquote>
Not used.
</blockquote><h4><a name = "tag_001_014_2359">&nbsp;</a>INPUT FILES</h4><blockquote>
None.
</blockquote><h4><a name = "tag_001_014_2360">&nbsp;</a>ENVIRONMENT VARIABLES</h4><blockquote>
None.
</blockquote><h4><a name = "tag_001_014_2361">&nbsp;</a>ASYNCHRONOUS EVENTS</h4><blockquote>
Default.
</blockquote><h4><a name = "tag_001_014_2362">&nbsp;</a>STDOUT</h4><blockquote>
Not used.
</blockquote><h4><a name = "tag_001_014_2363">&nbsp;</a>STDERR</h4><blockquote>
None.
</blockquote><h4><a name = "tag_001_014_2364">&nbsp;</a>OUTPUT FILES</h4><blockquote>
None.
</blockquote><h4><a name = "tag_001_014_2365">&nbsp;</a>EXTENDED DESCRIPTION</h4><blockquote>
None.
</blockquote><h4><a name = "tag_001_014_2366">&nbsp;</a>EXIT STATUS</h4><blockquote>
Default.
</blockquote><h4><a name = "tag_001_014_2367">&nbsp;</a>CONSEQUENCES OF ERRORS</h4><blockquote>
None.
</blockquote><h4><a name = "tag_001_014_2368">&nbsp;</a>APPLICATION USAGE</h4><blockquote>
This utility is typically used in shell scripts, as shown in the
the EXAMPLES section.
The special built-in utility ":" is sometimes more efficient than
<i>true</i>.
</blockquote><h4><a name = "tag_001_014_2369">&nbsp;</a>EXAMPLES</h4><blockquote>
This command will be executed forever:
<pre>
<code>
while true
do
    command
done
</code>
</pre>
</blockquote><h4><a name = "tag_001_014_2370">&nbsp;</a>FUTURE DIRECTIONS</h4><blockquote>
None.
</blockquote><h4><a name = "tag_001_014_2371">&nbsp;</a>SEE ALSO</h4><blockquote>
<i><a href="false.html">false</a></i>,
<xref href=shcmds><a href="chap2.html#tag_001_009">
Shell Commands
</a></xref>.
</blockquote><hr size=2 noshade>
<center><font size=2>
UNIX &reg; is a registered Trademark of The Open Group.<br>
Copyright &copy; 1997 The Open Group
<br> [ <a href="../index.html">Main Index</a> | <a href="../xshix.html">XSH</a> | <a href="../xcuix.html">XCU</a> | <a href="../xbdix.html">XBD</a> | <a href="../cursesix.html">XCURSES</a> | <a href="../xnsix.html">XNS</a> ]

</font></center><hr size=2 noshade>
</body></html>
